package org.jeecg.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 库存常量
 * @author：zk
 */
public final class InventoryConstant {

    /**
     * 入库状态
     * 0-创建完成/未确认入库
     * 1-入库完成/已确认入库
     * 99-被删除
     * */
    @Getter
    @AllArgsConstructor
    public enum EnterStatusEnum {

        CREATE_END("0", "创建完成/未确认入库"),
        ENTER_END("1", "入库完成/已确认入库"),
        DELETE("99", "被删除");

        private final String code;
        private final String define;
    }

    /**
     * 出库状态
     * 0-创建完成/未确认出库
     * 1-出库完成/已确认出库
     * 99-被删除
     * */
    @Getter
    @AllArgsConstructor
    public enum OutStatusEnum {

        CREATE_END("0", "创建完成/未预出库"),
        PREPARE_OUT("1", "预出库/未确认出库"),
        OUT_END("2", "出库完成/已确认出库"),
        DELETE("99", "被删除");

        private final String code;
        private final String define;
    }

}
